package cn.edu.scau.cmi.chenyuanying.simpleFactoryMethod;

public abstract class Meat {
	public abstract String getMeatInfo();
	
	@Override
	public String toString() {
		StringBuilder res = new StringBuilder("Type:" + getMeatInfo() + "\n" +
					this.getClass().getSimpleName() + '@' + hashCode());
		return res.toString();
	}
}
